package com.vcens.dingnotice.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageEntity {
    private Integer id;
    private Integer taskId;         //任务ID
    private Integer typeId;         //消息类型ID
    /**
     * 这里由于设置的消息内字段不固定，所以置为JSON格式
     **/
    private String content;         //消息文本,包含机器人的Token链接
    private Date createTime;
    private Date updateTime;
}
